package com.augurit.wf.common.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

@Entity
@Table(name = "WF_VIEW_CUSTOM_CONFIG")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class WfViewCustomConfig implements java.io.Serializable {
	
	// 属性
	@Id
    @Column(name = "ID")
    @SequenceGenerator(name="SEQ_WF_VIEW_CUSTOM_CONFIG", sequenceName="SEQ_WF_VIEW_CUSTOM_CONFIG", allocationSize=1)
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="SEQ_WF_VIEW_CUSTOM_CONFIG")
	private Long id;
	
	private String templateCode;
	
	private String userKey;
	
	private String customQueryCondition;
	
	private String customGroupProperty;
	
	private String customOrderProperty;
	
	private String customOrderby;
	
	private String customMemo;
	
	private String customExecHql;

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	public String getTemplateCode() {
		return this.templateCode;
	}

	public void setTemplateCode(String templateCode) {
		this.templateCode = templateCode;
	}
	public String getUserKey() {
		return this.userKey;
	}

	public void setUserKey(String userKey) {
		this.userKey = userKey;
	}
	public String getCustomQueryCondition() {
		return this.customQueryCondition;
	}

	public void setCustomQueryCondition(String customQueryCondition) {
		this.customQueryCondition = customQueryCondition;
	}
	public String getCustomGroupProperty() {
		return this.customGroupProperty;
	}

	public void setCustomGroupProperty(String customGroupProperty) {
		this.customGroupProperty = customGroupProperty;
	}
	public String getCustomOrderProperty() {
		return this.customOrderProperty;
	}

	public void setCustomOrderProperty(String customOrderProperty) {
		this.customOrderProperty = customOrderProperty;
	}
	public String getCustomOrderby() {
		return this.customOrderby;
	}

	public void setCustomOrderby(String customOrderby) {
		this.customOrderby = customOrderby;
	}
	public String getCustomMemo() {
		return this.customMemo;
	}

	public void setCustomMemo(String customMemo) {
		this.customMemo = customMemo;
	}
	public String getCustomExecHql() {
		return this.customExecHql;
	}

	public void setCustomExecHql(String customExecHql) {
		this.customExecHql = customExecHql;
	}
}